home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
026a
/
atbbsdbf.zip
/
PORTLIST.DOC
< prev
next >
Wrap
Text File
|
1990-12-14
|
3KB
|
85 lines
Documentation for PORTLIST.DBO
PORTLIST is a dBaseIV batch process that will import the file
FILES. that you downloaded from the ATBBS MAIN library. This
file contains the names and locations of all files on the BBS.
The database ATBBS.DBF will contain a list of the files in the
FILES. file. This database file will contain the following
information:
LIBRARY -> ATBBS library name where the file resides
FILE -> The name and extension of the file
BYTES -> The size of the file
SOURCE -> Where did the file come from (BBS USER)
DESCRIP -> Brief description of the file
NEW -> Logical field -- is the file new?
DOWNLOADED -> Logical field -- use this field to help keep
track of the files you have down loaded.
A few things about the program:
1. First off, I am fairly new to dBase and do not claim to be
an expert. If you find ways that I could have made this
program better, please let me know. I need the help.
Please send any comments you may have and go a lttle easy,
like I said I'm fairly new to dBase.
2. There are no error checking routines done. This was a "down
and dirty get it over with quick thing".
3. The first time you use this program, ALL files in the
ATBBS.DBF will be marked as new files. Be sure you really
want all of them printed out before answering "Y" to the print
prompt.
Once new files are printed, the NEW field is reset to .F. so
if you don't want all the files printed, you will need to
change the contents of the NEW field yourself.
FOR THOSE WHO ARE NEWER TO DBASE THAN I AM YOU CAN DO THIS
BY TYPING IN THE FOLLOWING LINE AT THE DOT PROMPT:
REPLACE ALL NEW WITH .F.
4. There is a UDF called NOCOPY in the program. It is the last
one in the file and is located there on purpose.
The main purpose of this function is to allow you to decide
what libraries you are interested in. OK, in plain english ...
If you are not interested in keeping track of files in a
library, this function will allow you to flag those files so
they won't be copied to the ATBBS.DBF.
You will need to modify the function to suit your purposes.
I have included a couple of samples in the code.
The main thing to remember is that if the function returns .T.
the file will NOT be copied. You have your choice of
coding for files to include or file to exclude.
5. I wrote this little program because I am new to the BBS
(much newer to it than to dBase) and wanted a way to keep
track of the available files for down loading.
6. Re-read #1 above.
FILES AND DESCRIPTIONS
PORTLIST.* -> The program
NEW.* -> Report form for the PORTLIST program
ATBBS.DBF -> The database file that you will use to
track the BBS files
READFILE.DBF -> Used to import the "FILES." file
TEMPATBB.DBF -> Temporary database used to move records
from the READFILE.DBF into the ATBBS.DBF